package org.jeecg.modules.sistersophie.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Transient;

/**
 * @Description: account_transaction
 * @Author: jeecg-boot
 * @Date:   2021-05-30
 * @Version: V1.0
 */
@Data
@TableName("account_transaction")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="account_transaction对象", description="account_transaction")
public class AccountTransaction implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**学生ID*/
	@Excel(name = "学生ID", width = 15)
    @ApiModelProperty(value = "学生ID")
    private Integer studentId;
	/**账户ID*/
	@Excel(name = "账户ID", width = 15)
    @ApiModelProperty(value = "账户ID")
    private Integer accountId;
	/**变更金额*/
	@Excel(name = "变更金额", width = 15)
    @ApiModelProperty(value = "变更金额")
    private BigDecimal changeAmount;
	/**变更方向 0=冻结 1=增加 2=减少*/
	@Excel(name = "变更方向 0=冻结 1=增加 2=减少", width = 15)
    @ApiModelProperty(value = "变更方向 0=冻结 1=增加 2=减少")
    private Integer changeDirection;
	/**付款时间*/
	@Excel(name = "", width = 15)
    @ApiModelProperty(value = "")
    private String remark;
	/**变更前金额*/
	@Excel(name = "变更前金额", width = 15)
    @ApiModelProperty(value = "变更前金额")
    private BigDecimal changeBeforeAmount;
	/**变更后金额*/
	@Excel(name = "变更后金额", width = 15)
    @ApiModelProperty(value = "变更后金额")
    private BigDecimal changeAfterAmount;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createName;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private String updateName;
	/**删除标志，0=正常，1=删除*/
	@Excel(name = "删除标志，0=正常，1=删除", width = 15)
    @ApiModelProperty(value = "删除标志，0=正常，1=删除")
    private Integer isDelete;
	/**课程ID*/
	@Excel(name = "课程ID", width = 15)
    @ApiModelProperty(value = "课程ID")
    private Integer courseId;
	/**课程类型 1=1v1课程 2=group class*/
	@Excel(name = "课程类型 1=1v1课程 2=group class", width = 15)
    @ApiModelProperty(value = "课程类型 1=1v1课程 2=group class")
    private Integer courseType;
	/**通知ID*/
	@Excel(name = "通知ID", width = 15)
    @ApiModelProperty(value = "通知ID")
    private Integer invoiceId;
	/**拓展字段*/
	@Excel(name = "拓展字段", width = 15)
    @ApiModelProperty(value = "拓展字段")
    private String extParam;

    /**是否取消*/
    @Excel(name = "是否取消", width = 15)
    @ApiModelProperty(value = "是否取消")
    private Integer isCancel;

    /**是否可取消*/
    @Excel(name = "是否可取消", width = 15)
    @ApiModelProperty(value = "是否可取消")
    private Integer cCancel;

}
